﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DataSet_Card" targetNamespace="http://tempuri.org/DataSet_Card.xsd" xmlns:mstns="http://tempuri.org/DataSet_Card.xsd" xmlns="http://tempuri.org/DataSet_Card.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="VIBAConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="VIBAConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.VIBAConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="v_DSCardTableAdapter" GeneratorDataComponentClassName="v_DSCardTableAdapter" Name="v_DSCard" UserDataComponentName="v_DSCardTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="VIBAConnectionString (Web.config)" DbObjectName="ViBa_Fin.dbo.v_DSCard" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT     ThietBi_Id, Card_Id, Card_TenCard, Card_SoPort, Card_GhiChu, Status, ThietBi_Ten
FROM         v_DSCard</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ThietBi_Id" DataSetColumn="ThietBi_Id" />
              <Mapping SourceColumn="Card_Id" DataSetColumn="Card_Id" />
              <Mapping SourceColumn="Card_TenCard" DataSetColumn="Card_TenCard" />
              <Mapping SourceColumn="Card_SoPort" DataSetColumn="Card_SoPort" />
              <Mapping SourceColumn="Card_GhiChu" DataSetColumn="Card_GhiChu" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="ThietBi_Ten" DataSetColumn="ThietBi_Ten" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DataSet_Card" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="DataSet_Card" msprop:Generator_UserDSName="DataSet_Card">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="v_DSCard" msprop:Generator_TableClassName="v_DSCardDataTable" msprop:Generator_TableVarName="tablev_DSCard" msprop:Generator_TablePropName="v_DSCard" msprop:Generator_RowDeletingName="v_DSCardRowDeleting" msprop:Generator_UserTableName="v_DSCard" msprop:Generator_RowChangingName="v_DSCardRowChanging" msprop:Generator_RowEvHandlerName="v_DSCardRowChangeEventHandler" msprop:Generator_RowDeletedName="v_DSCardRowDeleted" msprop:Generator_RowEvArgName="v_DSCardRowChangeEvent" msprop:Generator_RowChangedName="v_DSCardRowChanged" msprop:Generator_RowClassName="v_DSCardRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ThietBi_Id" msprop:Generator_ColumnVarNameInTable="columnThietBi_Id" msprop:Generator_ColumnPropNameInRow="ThietBi_Id" msprop:Generator_ColumnPropNameInTable="ThietBi_IdColumn" msprop:Generator_UserColumnName="ThietBi_Id" type="xs:int" minOccurs="0" />
              <xs:element name="Card_Id" msprop:Generator_ColumnVarNameInTable="columnCard_Id" msprop:Generator_ColumnPropNameInRow="Card_Id" msprop:Generator_ColumnPropNameInTable="Card_IdColumn" msprop:Generator_UserColumnName="Card_Id" type="xs:int" />
              <xs:element name="Card_TenCard" msprop:Generator_ColumnVarNameInTable="columnCard_TenCard" msprop:Generator_ColumnPropNameInRow="Card_TenCard" msprop:Generator_ColumnPropNameInTable="Card_TenCardColumn" msprop:Generator_UserColumnName="Card_TenCard" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="250" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Card_SoPort" msprop:Generator_ColumnVarNameInTable="columnCard_SoPort" msprop:Generator_ColumnPropNameInRow="Card_SoPort" msprop:Generator_ColumnPropNameInTable="Card_SoPortColumn" msprop:Generator_UserColumnName="Card_SoPort" type="xs:int" minOccurs="0" />
              <xs:element name="Card_GhiChu" msprop:Generator_ColumnVarNameInTable="columnCard_GhiChu" msprop:Generator_ColumnPropNameInRow="Card_GhiChu" msprop:Generator_ColumnPropNameInTable="Card_GhiChuColumn" msprop:Generator_UserColumnName="Card_GhiChu" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="4000" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" msprop:Generator_UserColumnName="Status" type="xs:int" minOccurs="0" />
              <xs:element name="ThietBi_Ten" msprop:Generator_ColumnVarNameInTable="columnThietBi_Ten" msprop:Generator_ColumnPropNameInRow="ThietBi_Ten" msprop:Generator_ColumnPropNameInTable="ThietBi_TenColumn" msprop:Generator_UserColumnName="ThietBi_Ten" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:v_DSCard" />
      <xs:field xpath="mstns:Card_Id" />
    </xs:unique>
  </xs:element>
</xs:schema>